package conf

import "github.com/BurntSushi/toml"

var Conf conf

type conf struct {
	ProjectName string
	Port        int
}

func InitConf() {
	path := "./conf/conf.toml"
	if _, err := toml.DecodeFile(path, &Conf); err != nil {
		panic(err)
	}
}
